package com.chixing.entity;

import java.time.LocalDateTime;

public class Job {
    private int jobId;
    private int jobCompanyId;
    private String jobTitle;
    private String jobDesctiption;
    private String jobLocaltion;
    private float jobSalaryMin;
    private float jobSalaryMax;
    private String jobExperienceRrequired;
    private String jobEducationRequired;
    private int jobVacancies;
    private String jobStatus;
    private LocalDateTime createAt;
    private LocalDateTime updateAt;
    public Job(){}
    public Job(int jobId, int jobCompanyId, String jobTitle, String jobDesctiption, String jobLocaltion, float jobSalaryMin, float jobSalaryMax, String jobExperienceRrequired, String jobEducationRequired, int jobVacancies, String jobStatus, LocalDateTime createAt, LocalDateTime updateAt) {
        this.jobId = jobId;
        this.jobCompanyId = jobCompanyId;
        this.jobTitle = jobTitle;
        this.jobDesctiption = jobDesctiption;
        this.jobLocaltion = jobLocaltion;
        this.jobSalaryMin = jobSalaryMin;
        this.jobSalaryMax = jobSalaryMax;
        this.jobExperienceRrequired = jobExperienceRrequired;
        this.jobEducationRequired = jobEducationRequired;
        this.jobVacancies = jobVacancies;
        this.jobStatus = jobStatus;
        this.createAt = createAt;
        this.updateAt = updateAt;
    }

    public int getJobId() {
        return jobId;
    }

    public void setJobId(int jobId) {
        this.jobId = jobId;
    }

    public int getJobCompanyId() {
        return jobCompanyId;
    }

    public void setJobCompanyId(int jobCompanyId) {
        this.jobCompanyId = jobCompanyId;
    }

    public String getJobTitle() {
        return jobTitle;
    }

    public void setJobTitle(String jobTitle) {
        this.jobTitle = jobTitle;
    }

    public String getJobDesctiption() {
        return jobDesctiption;
    }

    public void setJobDesctiption(String jobDesctiption) {
        this.jobDesctiption = jobDesctiption;
    }

    public String getJobLocaltion() {
        return jobLocaltion;
    }

    public void setJobLocaltion(String jobLocaltion) {
        this.jobLocaltion = jobLocaltion;
    }

    public float getJobSalaryMin() {
        return jobSalaryMin;
    }

    public void setJobSalaryMin(float jobSalaryMin) {
        this.jobSalaryMin = jobSalaryMin;
    }

    public float getJobSalaryMax() {
        return jobSalaryMax;
    }

    public void setJobSalaryMax(float jobSalaryMax) {
        this.jobSalaryMax = jobSalaryMax;
    }

    public String getJobExperienceRrequired() {
        return jobExperienceRrequired;
    }

    public void setJobExperienceRrequired(String jobExperienceRrequired) {
        this.jobExperienceRrequired = jobExperienceRrequired;
    }

    public String getJobEducationRequired() {
        return jobEducationRequired;
    }

    public void setJobEducationRequired(String jobEducationRequired) {
        this.jobEducationRequired = jobEducationRequired;
    }

    public int getJobVacancies() {
        return jobVacancies;
    }

    public void setJobVacancies(int jobVacancies) {
        this.jobVacancies = jobVacancies;
    }

    public String getJobStatus() {
        return jobStatus;
    }

    public void setJobStatus(String jobStatus) {
        this.jobStatus = jobStatus;
    }

    public LocalDateTime getCreateAt() {
        return createAt;
    }

    public void setCreateAt(LocalDateTime createAt) {
        this.createAt = createAt;
    }

    public LocalDateTime getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(LocalDateTime updateAt) {
        this.updateAt = updateAt;
    }

    @Override
    public String toString() {
        return "Job{" +
                "jobId=" + jobId +
                ", jobCompanyId=" + jobCompanyId +
                ", jobTitle='" + jobTitle + '\'' +
                ", jobDesctiption='" + jobDesctiption + '\'' +
                ", jobLocaltion='" + jobLocaltion + '\'' +
                ", jobSalaryMin=" + jobSalaryMin +
                ", jobSalaryMax=" + jobSalaryMax +
                ", jobExperienceRrequired='" + jobExperienceRrequired + '\'' +
                ", jobEducationRequired='" + jobEducationRequired + '\'' +
                ", jobVacancies=" + jobVacancies +
                ", jobStatus='" + jobStatus + '\'' +
                ", createAt=" + createAt +
                ", updateAt=" + updateAt +
                '}';
    }
}
